package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单信息对象 d_orderinformation
 * 
 * @author tjm
 * @date 2025-04-16
 */
public class DOrderinformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long oid;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishname;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal price;

    /** 单价 */
    @Excel(name = "单价")
    private Long uid;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String parmentoption;

    /** 状态（0代表已支付，1代表已退款，2代表未付款） */
    @Excel(name = "状态", readConverterExp = "0=代表已支付，1代表已退款，2代表未付款")
    private Long status;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    public void setOid(Long oid) 
    {
        this.oid = oid;
    }

    public Long getOid() 
    {
        return oid;
    }
    public void setDishname(String dishname) 
    {
        this.dishname = dishname;
    }

    public String getDishname() 
    {
        return dishname;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setParmentoption(String parmentoption) 
    {
        this.parmentoption = parmentoption;
    }

    public String getParmentoption() 
    {
        return parmentoption;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("oid", getOid())
            .append("dishname", getDishname())
            .append("createTime", getCreateTime())
            .append("price", getPrice())
            .append("uid", getUid())
            .append("parmentoption", getParmentoption())
            .append("status", getStatus())
            .append("img", getImg())
            .toString();
    }
}
